package com.rykj.energy.database.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rykj.energy.database.pojo.BasicCameraPresetting;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CameraPresettingMapper extends BaseMapper<BasicCameraPresetting> {

    List<BasicCameraPresetting> getPresetsByDevId(@Param("devId") Integer devId);

    List<BasicCameraPresetting> getAllPresets();

    void deleteNotInIds(@Param("cameraId") Integer cameraId,@Param("presetIds") List<Integer> presetIds);
}
